﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="MemberEdit.aspx.cs"
	Inherits="SBACN.WebSite.Admin.AboutGuild.MemberEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title><%= ConTitle %></title>
	<link href="../images/style.css" rel="stylesheet" type="text/css" />
	<link href="../images/form.css" rel="stylesheet" type="text/css" />
	<script src="../../js/jquery-1.7.1.js" type="text/javascript"></script>
	<script type="text/javascript">
		function Check_Sub() {
			var Mname = $("#<%= Mname.ClientID %>").val();
			if (Mname == "") {
				alert("请输入名称！");
				return false;
			}
//			var MTel = $("#<%= EMname.ClientID %>").val();
//			if (MTel == "") {
//				alert("请输入英文名称！");
//				return false;
//			}

			return true;
		}
	</script>
</head>
<body>
	<form id="form1" runat="server">
	<center>
		<div id="contentDiv">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-stroke2">
				<tr>
					<td colspan="2" class="form-title2">
							<%= ConTitle %>
					</td>
				</tr>
				<tr>
					<td width="16%" class="form-label-1">
						<span style="color:Red;">*</span> 名称：
					</td>
					<td width="84%" class="form-body-1">
						<asp:TextBox ID="Mname" runat="server" Width="60%"></asp:TextBox>
						<asp:Label ID="MsgMname" runat="server" Text=""></asp:Label>
					</td>
				</tr>
				<tr>
					<td width="16%" class="form-label-1">
						<%--<span style="color: Red;">*</span>--%>英文名称：
					</td>
					<td width="84%" class="form-body-1">
						<asp:TextBox ID="EMname" runat="server" Width="60%"></asp:TextBox>
						<asp:Label ID="Label1" runat="server" Text=""></asp:Label>
					</td>
				</tr>
				<tr>
					<td width="16%" class="form-label-1">
						电话：
					</td>
					<td width="84%" class="form-body-1">
						<asp:TextBox ID="MTel" runat="server" Width="60%" ></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td width="16%" class="form-label-1">
						传真：
					</td>
					<td width="84%" class="form-body-1" >
						<asp:TextBox ID="MFax" runat="server" Width="60%"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td width="16%" class="form-label-1">
						邮箱：
					</td>
					<td width="84%" class="form-body-1">
						<asp:TextBox ID="MEmail" runat="server" Width="60%"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td width="16%" class="form-label-1">
						网址：
					</td>
					<td width="84%" class="form-body-1">
						<asp:TextBox ID="MWeb" runat="server" Width="60%"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td width="16%" class="form-label-1">
						地址：
					</td>
					<td width="84%" class="form-body-1">
						<asp:TextBox ID="Madd" runat="server" Width="60%"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td width="16%" class="form-label-1">
						英文地址：
					</td>
					<td width="84%" class="form-body-1">
						<asp:TextBox ID="EMadd" runat="server" Width="60%"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td width="16%" class="form-label-1">
						LogoURL：
					</td>
					<td width="84%" class="form-body-1">
						<asp:FileUpload ID="MLogo" runat="server" Width="55%" />
						&nbsp;<asp:LinkButton ID="linkView" runat="server" Text="查看图片" ></asp:LinkButton>
						<%--<a href="<%= Url %>" target="_blank">查看图片</a>--%>
					</td>
				</tr>
				<tr>
					<td width="16%" class="form-label-1">
						联络人：
					</td>
					<td width="84%" class="form-body-1">
						<asp:TextBox ID="MPer" runat="server" Width="60%"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td width="16%" class="form-label-1">
						英文联络人：
					</td>
					<td width="84%" class="form-body-1">
						<asp:TextBox ID="EMPer" runat="server" Width="60%"></asp:TextBox>
					</td>
				</tr>
				<tr runat="server" id="ClsM">
					<td width="16%" class="form-label-1">
						分类：
					</td>
					<td width="84%" class="form-body-1">
						<asp:DropDownList ID="MClass" runat="server" Width="30%">
							<asp:ListItem Text="--请选择分类--" Value=""></asp:ListItem>
						</asp:DropDownList>
					</td>
				</tr>
				<tr>
					<td class="form-body-1" colspan="2" style="text-align:center;">
						<asp:HiddenField ID="HidCID" runat="server" />
						<asp:HiddenField ID="HidMID" runat="server" />
						<asp:Button ID="SubBtn" runat="server" Text=" 保存" CssClass="btnsearch" OnClientClick=" return Check_Sub();"
							OnClick="SubBtn_Click" />
						<input type="button" name="cancleBtn" id="CancelBtn" class="btnsearch" value="取消" onclick="window.close()" />
					</td>
				</tr>
			</table>
		</div>
	</center>
	</form>
</body>
</html>
